<template>
  <table-layout>
    <rich-text
      :value="richText.value"
      :height="700"
      @getContent="richText.getContent"
    />
  </table-layout>
</template>

<script setup>
import { reactive, onMounted } from "vue"
import RichText from "@/components/doc/RichText/index.vue"
import TableLayout from "@/components/layout/TableLayout/index.vue"
const richText = reactive({
    value: "",
    getContent(data) {
        tinymce.value = data
    },
})
onMounted(() => {
    richText.value = "TinyMce!!!"
})
</script>

<style lang="scss" scoped></style>
